package com.agileboot.domain.performance.score.command;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 更新用户分数记录命令对象
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UpdateUserScoreRecordCommand extends AddUserScoreRecordCommand {

    @NotNull(message = "用户分数记录ID不能为空")
    @Positive
    private Long id;

}

